{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <http://www.zhengzhong.net/>
  
  Created on 2009-05-21.
  $Id$
-->
{% endcomment %}

{% if scene %}

  <div class="scene_info">
  
    <div class="scene_info_head">Users' opinions:</div>
    
    <div class="scene_info_body">
    
      <div>
        This scene has been confirmed by {{scene.confirmed|length}} user(s),
        disproved by {{scene.disproved|length}} user(s).
      </div>
      
      {% if scene.confirmed %}
        <div>
          <img src="{{static_}}/images/confirm_icon.gif" alt="Confirmed"/> Confirmed by:
          {% for user in scene.confirmed %}
            <a href="{{webapp_}}/user/{{user.user_id}}/">{{user.nickname}}</a>
            {% ifequal user_ user %}
              <b>(you)</b>
            {% endifequal %}
            ,
          {% endfor %}
        </div>
      {% endif %}{# scene.confirmed #}
      
      {% if scene.disproved %}
        <div>
          <img src="{{static_}}/images/disprove_icon.gif" alt="Disproved"/> Disproved by:
          {% for user in scene.disproved %}
            <a href="{{webapp_}}/user/{{user.user_id}}/">{{user.nickname}}</a>
            {% ifequal user_ user %}
              <b>(you)</b>
            {% endifequal %}
            ,
          {% endfor %}
        </div>
      {% endif %}{# scene.disproved #}
    
    </div><!--/.scene_body-->
  
  </div><!--/.scene_info-->

{% endif %}

